svm: Replace call to svm_load_cr2 with conditional call to svm_trace_vmentry
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 24 May 2007 12:56:58 +0000 (13:56 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 24 May 2007 12:56:58 +0000 (13:56 +0100)
commit012be4bc30df5f97b272f5b68feab11c429d720a
tree756cd3a337704779591aa5a24e4d8719bf352da7
parent8cc22ae8d13a1fc27758e11b6cdf68a17401761d
svm: Replace call to svm_load_cr2 with conditional call to svm_trace_vmentry

Remove the call to svm_load_cr2 (which doesn't do anything useful).
The old svm_load_cr2 is now replaced with a svm_trace_vmentry. A call
to this function is done if "tb_init_done" is non-zero, so we don't call
this unless it's actually being used.

Signed-off-by: Mats Petersson <mats.petersson@amd.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/x86_32/exits.S
xen/arch/x86/hvm/svm/x86_64/exits.S